﻿<Window x:Class="CPPEI.BD.VMTool.Views.VideoMatrixCurrentWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="VideoMatrixCurrentWindow" Height="600" Width="800">
    <Grid>
        <Grid.Background>
            <LinearGradientBrush  EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FFBAE4FF" Offset="0" />
                <GradientStop Color="#FF398FDF" Offset="0.41800001263618469" />
                <GradientStop Color="#FF006DD4" Offset="0.418" />
                <GradientStop Color="#FF0A3E69" Offset="1" />
            </LinearGradientBrush>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
       
        <Label Content="视频源:" Grid.Row="4" Margin="2" FontSize="20"/>
        <WrapPanel x:Name="_ctlWrapPanelVideo" Orientation="Horizontal" Grid.Row="5" Margin="50,0,0,0" AllowDrop="True" Width="auto" >
            <Canvas  Margin="5" Name="canvas1" Width="90" Height="50">
                <Rectangle Height="50" Name="rectangle1" Stroke="Black" Width="90" Fill="#FFFFB300" >

                </Rectangle>
                <Label   x:Name="_ctlLblVideoName" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="1213" Width="90" Height="50"    Foreground="Black" />
            </Canvas>
            <Canvas  Margin="5" Name="canvas2" Width="90" Height="50">
                <Rectangle Height="50" Name="rectangle2" Stroke="Black" Width="90" Fill="#FFFFB300" >

                </Rectangle>
                <Label   x:Name="_ctlLblVideoName1" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="1213" Width="90" Height="50"    Foreground="Black" />
            </Canvas>

        </WrapPanel>
        <Label Content="矩阵源:" Grid.Row="2" Margin="2" FontSize="20"></Label>
        <WrapPanel x:Name="_ctlWrapPanelMatrix" Orientation="Horizontal" Grid.Row="3" Margin="50,0,0,0" Width="auto">


        </WrapPanel>
       
            <Expander Header="灯光" FontSize="18" Grid.Row="6">
                <WrapPanel Background="#FFE5E5E5" Orientation="Horizontal" Width="auto">
                    <Button x:Name="_ctlzlight1on" Content="大厅全开模式 " Height="30" Margin="5" Click="_ctlzlight1on_Click_1"/>
                    <Button x:Name="_ctlzlight1hy" Content="大厅会议模式 " Height="30" Margin="5" Click="_ctlzlight1hy_Click_1"/>
                    <Button x:Name="_ctlzlight1hd" Content="大厅幻灯模式 " Height="30" Margin="5" Click="_ctlzlight1hd_Click_1"/>
                    <Button x:Name="_ctlzlight1zs" Content="大厅展示模式 " Height="30" Margin="5" Click="_ctlzlight1zs_Click_1"/>

                    <Button x:Name="_ctlzlight2on" Content="楼上灯组全开 " Height="30" Margin="5" Click="_ctlzlight2on_Click_1"/>

                    <Button x:Name="_ctlzlight2m" Content="楼上灯组中间开 " Height="30" Margin="5" Click="_ctlzlight2m_Click_1"/>

                    <Button x:Name="_ctlzlight2a" Content="楼上灯组两边开 " Height="30" Margin="5" Click="_ctlzlight2a_Click_1"/>

                    <Button x:Name="_ctlzlight2off" Content="楼上灯组全关 " Height="30" Margin="5" Click="_ctlzlight2off_Click_1"/>
                <Button x:Name="_ctlguanshanon" Content="光栅玻璃开" Click="_ctlguanshanon_Click_1"  Height="30" Margin="5"/>
                <Button x:Name="_ctlguanshanoff" Content="光栅玻璃关" Click="_ctlguanshanoff_Click_1"  Height="30" Margin="5"/>
            </WrapPanel>
            </Expander>
  
        <Expander Header="音响" FontSize="18" Grid.Row="7">
            <WrapPanel Orientation="Horizontal">
               

                <Button x:Name="_ctlzsoundon" Content="全开"  Margin="5" Click="_ctlzsoundon_Click_1"/>
                <Button x:Name="_ctlzsoundoff" Content="全关" Margin="5" Click="_ctlzsoundoff_Click_1"/>
                <Button x:Name="_ctlzsoundupon" Content="楼上开" Margin="5" Click="_ctlzsoundupon_Click_1"/>
                <Button x:Name="_ctlzsoundupoff" Content="楼上关" Margin="5" Click="_ctlzsoundupoff_Click_1"/>
                <Button x:Name="_ctlzsounddownon" Content="楼下开" Margin="5" Click="_ctlzsounddownon_Click_1"/>
                <Button x:Name="_ctlzsounddownoff" Content="楼下关" Margin="5" Click="_ctlzsounddownoff_Click_1"/>
            </WrapPanel>
        </Expander>
        <Expander Header="窗帘" FontSize="18" Grid.Row="8">
            <WrapPanel Orientation="Horizontal">


                <Button x:Name="_ctlzdrop1up" Content="上层窗帘打开"  Margin="5" Click="_ctlzdrop1up_Click_1"/>
                <Button x:Name="_ctlzdrop1down" Content="上层窗帘关闭" Margin="5" Click="_ctlzdrop1down_Click_1"/>
                <Button x:Name="_ctlzdrop1stop" Content="上层窗帘停止" Margin="5" Click="_ctlzdrop1stop_Click_1"/>
                <Button x:Name="_ctlzdrop2up" Content="下层窗帘打开" Margin="5" Click="_ctlzdrop2up_Click_1"/>
                <Button x:Name="_ctlzdrop2down" Content="下层窗帘关闭" Margin="5" Click="_ctlzdrop2down_Click_1"/>
                <Button x:Name="_ctlzdrop2stop" Content="下层窗帘停止" Margin="5" Click="_ctlzdrop2stop_Click_1"/>
            </WrapPanel>
        </Expander>
    </Grid>
</Window>
